FactoryGirl.define do

  factory :user,class: User do
  end

  factory :post,class: Post do
    title "this is title"
    content "this is post content"
    visited_count 10
    association :user
  end

  factory :twitter,class: Twitter do
    content "this is twitter content"
    association :user
  end
end